#include "include/floorview/floorwidget.h"
#include "ui_floorwidget.h"

FloorWidget::FloorWidget(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::FloorWidget)
{
    ui->setupUi(this);
    scene = new FloorScene();
    view = new FloorView();

    view->setScene(scene);
    view->setSceneRect(scene->sceneRect());

    ui->baseLayout->addWidget(view);
}

FloorWidget::~FloorWidget()
{
    delete ui;
}



